<div style="width: 700px; height: 550px;">
    <form name="myform" novalidate>
        <table width="100%">
            <thead>
                <tr>
                    <th style="padding: 0; margin: 0; border: 0; height: 0; width: 120px;"></th>
                    <th style="padding: 0; margin: 0; border: 0; height: 0;"></th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td align="right" class="form-cell" valign="top"><span class="c-red">* </span>名称</td>
                    <td style="padding-bottom: 10px">
                        <input type="text" name="name" class="input-text" style="width: 100%;"
                               ng-model="data.name" required>
                        <p class="error ng-hide" ng-show="myform.name.$invalid && myform.$submitted">
                            名称必须填写
                        </p>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="form-cell" valign="top">顺序</td>
                    <td style="padding-bottom: 10px">
                        <input type="text" name="taxis" class="input-text" style="width: 100%;"
                               ng-model="data.taxis" min="1" max="1000000" integer>
                        <p class="error ng-hide" ng-show="myform.taxis.$invalid && myform.$submitted">
                            <span class="error ng-hide" ng-show="myform.taxis.$error.integer">值必须为整数</span>
                            <span class="error ng-hide" ng-show="myform.taxis.$error.max">值不能太大</span>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="form-cell" valign="top">相册类型</td>
                    <td>
                        <span style="margin-right: 20px;">
                            <input type="radio" name="type" ng-model="data.type" value="0" ui-radio="图片">
                        </span>
                        <span style="margin-right: 20px;">
                            <input type="radio" name="type" ng-model="data.type" value="1" ui-radio="资源包">
                        </span>
                        <span style="margin-right: 20px;">
                            <input type="radio" name="type" ng-model="data.type" value="2" ui-radio="资源地址">
                        </span>
                    </td>
                </tr>
                <tr ng-include="data ? 'views/album360-edit-' + data.type + '.html' : ''"></tr>
                <tr>
                    <td align="right" class="form-cell" valign="top">描述信息</td>
                    <td style="padding-bottom: 10px">
                        <textarea class="textarea" name="intro" ng-model="data.intro"></textarea>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</div>